/**
 * @description: 登陆接口参数
 */
export interface LoginParams {
    username: string;
    password: string;
    code: string;
    uuid: string;
}

/**
 * @description: 获取用户信息
 */
export interface GetUserInfoByUserIdParams {
    userId: string | number;
}

/**
 * @description: 登录接口返回值
 */
export interface UserInfo {
    username: string;
    password: string;
    nickName: string;
    gender: string;
    email: string;
    enabled: string | boolean;
    // roles: number[];
    roleIds: number[];
    // jobs: number[];
    dept: number | string;
    phone: string;
    id?: number | null;
}

export interface UsersId {
    id?: string | number;
    ids?: (string | number)[];
}

export interface UpdatePass {
    newPass: string;
    oldPass: string;
}
